Skip to content

v4.2.0 — Remove child theme, versioned Erebus clone#8

Open
harryfinn wants to merge 1 commit into
mainfrom
release/v4.2.0
Open

v4.2.0 — Remove child theme, versioned Erebus clone#8
harryfinn wants to merge 1 commit into
mainfrom
release/v4.2.0

Conversation

@harryfinn

Copy link
Copy Markdown
Contributor

Summary

  • No more child themesetup_themes() now clones Erebus directly into wp-content/themes/erebus and activates it. All child theme scaffolding removed.
  • Versioned Erebus clone — uses git clone --branch <tag> --depth 1 so each project gets a pinned, reproducible Erebus version. Default pinned to v3.0.0 via EREBUS_VERSION constant.
  • --theme-version flagmimir --theme-version=3.1.0 overrides the default for a single run (useful when a newer Erebus release is out but MIMIR_VERSION hasn't been bumped yet)
  • Mimir version bumped to 4.2.0

⚠️ Note on Erebus tagging

EREBUS_VERSION is set to 3.0.0 but the v3.0.0 tag doesn't exist on the Erebus repo yet (it's on release/v3.0.0 branch). The tag must be cut on Erebus before this can be tested end-to-end. In the meantime, test with --theme-version=2.0.1 to use the latest existing tag.

Test plan

  • Tag v3.0.0 on Erebus (or test with mimir --theme-version=2.0.1 in the interim)
  • Run mimir in a fresh empty directory — confirm Erebus clones to wp-content/themes/erebus and activates
  • Confirm .git directory is removed from cloned theme
  • Run mimir --theme-version=2.0.1 — confirm that specific tag is cloned
  • Re-run mimir in the same directory — confirm clone step is skipped (idempotent)
  • mimir versionMimir v4.2.0
  • mimir --help → shows --theme-version flag and default Erebus version

🤖 Generated with Claude Code

- setup_themes() now clones a tagged Erebus release (default v3.0.0) and
  activates it directly — no child theme scaffold
- EREBUS_VERSION constant pins the default Erebus release
- --theme-version flag overrides the Erebus version for a single run
- MIMIR_VERSION bumped to 4.2.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant